window: Fix annotations in get_size and get_position
authorTimm Bäder <mail@baedert.org>
Sun, 9 Jul 2017 06:14:42 +0000 (08:14 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:15 +0000 (21:27 -0400)
gtk/gtkwindow.c

index f5667205b377ac5b2f70697e4762c1d04646fd52..763df487adebbab1a73a3485cc9b065ada6d2967 100644 (file)
@@ -5257,8 +5257,8 @@ gtk_window_resize (GtkWindow *window,
 /**
  * gtk_window_get_size:
  * @window: a #GtkWindow
- * @width: (out) (nullable): return location for width, or %NULL
- * @height: (out) (nullable): return location for height, or %NULL
+ * @width: (out) (optional): return location for width, or %NULL
+ * @height: (out) (optional): return location for height, or %NULL
  *
  * Obtains the current size of @window.
  *
@@ -5558,9 +5558,9 @@ gtk_window_move (GtkWindow *window,
 /**
  * gtk_window_get_position:
  * @window: a #GtkWindow
- * @root_x: (out) (allow-none): return location for X coordinate of
+ * @root_x: (out) (optional): return location for X coordinate of
  *     gravity-determined reference point, or %NULL
- * @root_y: (out) (allow-none): return location for Y coordinate of
+ * @root_y: (out) (optional): return location for Y coordinate of
  *     gravity-determined reference point, or %NULL
  *
  * This function returns the position you need to pass to